#pragma once
#ifndef SDEF_OBSINST
#define SDEF_OBSINST

#include <SypX/SypX.h>
#include "Instance.h"
#include "Obstacle.h"

namespace SheepDefence
{
	class ObstacleInstance : public Instance
	{
	
	public:

		Obstacle* actor;

		// Default constructor
		ObstacleInstance();

		~ObstacleInstance();

		ObstacleInstance(SypX::FileInputStream&, Obstacle*, Level*);
		ObstacleInstance(Obstacle* actor, Level* level, float x, float y, int angle);

		Actor* getActor();

		void advance(float);
	};
}

#endif